﻿using System;

namespace eShop.Core
{
    /// <summary>
    /// 入库单
    /// </summary>
    public class ReceiveInfo
    {
        private int _receiveId;//入库单号id
        private string _receiveno;//入库单号
        private DateTime _receivedate;//入库日期
        private int _stockid;//仓库id
        private int _pid;//产品id
        private int _receivenum;//入库数量
        private string _doperson;//操作员
        private string _remark;//备注说名

        /// <summary>
        /// 自增主键
        /// </summary>
        public int ReceiveId
        {
            get { return _receiveId; }
            set { _receiveId = value; }
        }
        /// <summary>
        /// 入库单号
        /// </summary>
        public string ReceiveNo
        {
            get { return _receiveno; }
            set { _receiveno = value; }
        }

        /// <summary>
        /// 入库日期
        /// </summary>
        public DateTime ReceiveDate
        {
            get { return _receivedate; }
            set { _receivedate = value; }

        }

        /// <summary>
        /// 仓库Id
        /// </summary>
        public int StockId
        {
            get { return _stockid; }
            set { _stockid = value; }

        }

        /// <summary>
        /// 商品Id
        /// </summary>
        public int PId
        {
            get { return _pid; }
            set { _pid = value; }

        }

        /// <summary>
        /// 入库数量
        /// </summary>
        public int ReceiveNum
        {
            get { return _receivenum; }
            set { _receivenum = value; }
        }

        /// <summary>
        /// 操作员
        /// </summary>
        public string DoPerson
        {
            get { return _doperson; }
            set { _doperson = value; }

        }

        /// <summary>
        /// 备注说明
        /// </summary>
        public string Remark
        {
            get { return _remark; }
            set { _remark = value; }

        }
    }
}
